package com.atguigu.locks.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author : leimingchao
 * @date Date : 2021年11月30日 21:26
 */
@Data
@Component
// @Configuration
@ConfigurationProperties(prefix = "gmall.pool")
public class PoolProperties {

    private Integer corePoolSize;

    private Integer maximumPoolSize;

    private Integer queueSize;
}
